package com.itgt.renwu2;

import java.util.Scanner;

public class ArrayOut {
	/*
	 * 
	 * 	失败了
	 * 	
	 * 	 输入，，形成二维数组，，遍历，，输出
	 * 
	 */
	public static void main(String[] args) {
		System.out.println("line");
		Scanner scanner = new Scanner(System.in);		
		int line = scanner.nextInt();
		System.out.println("list");
		int list = scanner.nextInt();
		/*
		 * 	输入，，形成二维数组
		 */
		int [][] poet = new int[line][list];
		for(int i=0;i<poet.length;i++) {
			for(int j=0;j<poet[i].length;j++) {
				System.out.println("di"+(i+1)+"hang");
				poet[line][list] = scanner.nextInt();
			}
		}
		//遍历
		for(int i=0;i<poet.length;i++) {
			for(int j=0;j<poet[line].length;j++) {
				int poet1 = poet[i][j];
				System.out.print( poet1 + "\t");
			}
			System.out.println();
		}
	}

}
